<% content_for :application do %>
	<div style="height:200px;"></div>
	<div class="widget-container widget_search styled boxed">
		<div style="height:100px;"></div>
	    <div class="inner">
	        <form method="get" id="searchform2" action="#">
	            <div class="clearfix">
	                <span class="btn">
	                	<input class="gradient" style="outline: medium none;" hidefocus="true" value="connect" type="button" onclick="connect()">
	                </span>
	                <div class="field_text">
	                	<input style="outline: medium none;" hidefocus="true" id="servername" name="servername" value="" placeholder="Type server name here" type="text">
	                </div>
	            </div>
	        </form>
	    </div>
		<div style="height:100px;"></div>
	</div>
<script type="text/javascript">
	function connect(){
		window.location.href = "/servermonitor/server?server=" + $("#servername").val();
	}
</script>

<% end %>